package com.yby6.system.vo.Gitee;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

// Create By Yang Shuai,Date 2022/4/21:21:05
@Data
@Component
//对应application.yml中，oauth下参数
@ConfigurationProperties(prefix = "gitee")
public class GiteeProperties {
    private String url = "https://gitee.com/oauth/token";
    private String clientId = "0c4e58561c42d8af62c151e48c3f8702287ef88194721992b24af3edd3312791";
    private String clientSecret = "fa8da266a1d39e2ffe139982fd9281826ebb59eeaf2bbba4703a6f6bbe8f358a";
    private String grant_type = "authorization_code";
    private String redirectUri;
}
